package com.zion.tencent_dnspod_api.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 腾讯认证KEY配置
 * @Author ZionChen
 * @Date 2024/1/4 22:31
 * @PackageName:com.zion.dnspod_update.config
 * @ClassName: TencentValueConfig
 * @Description: TODO
 * @Version 1.0
 */
@Component
@Configuration
@ConfigurationProperties(prefix = "service")
@Data
@NoArgsConstructor
public class TencentConfig {

    /**
     * 接口请求host
     */
    private String host;

    /**
     * 用户认证id
     */
    private String secretId;

    /**
     * 用户认证key
     */
    private String secretKey;

    /**
     * 需要更新的域名
     */
    private String domainName;
}
